﻿@{
    Layout = "~/Views/Shared/_Root.Head.cshtml";
}
@Html.Widget("body_start_html_tag_after")
@Html.Partial("_Notifications")
<script type="text/javascript">
    AjaxCart.init(false, '.header-links .cart-qty', '.header-links .wishlist-qty', '#flyout-cart');
</script>
@Html.Action("TopMenu", "Catalog")
<div class="container">
    @Html.Partial("Header")
    <div class="master-wrapper-page">
        @Html.Action("JavaScriptDisabledWarning", "Common")
        <div class="master-wrapper-content">
            @Html.Widget("content_before")
            @*ajax loading window*@
            <div class="ajax-loading-block-window" style="display: none">
                <div class="loading-image">
                </div>
            </div>
            <div class="master-wrapper-main">
                @RenderBody()
            </div>
            @Html.Widget("content_after")
        </div>
        @Html.Action("Footer", "Common")
    </div>
</div>
<div class="search-container bg-cyan">
    @Html.Action("SearchBox", "Catalog")
</div>
<script type="text/javascript">
    $('.search-container').hide();

    $('#open-search').click(function () {
        $('.search-container').toggle('slide', {
            direction: 'right'
        });
        $('.small-searchterms').focus();
    });

    $('#close-search').click(function () {
        $('.search-container').toggle('slide', {
            direction: 'right'
        });
    });
</script>
@Html.Action("EuCookieLaw", "Common")
@Html.Widget("body_end_html_tag_before")
